import nnreport
import unittest
def run(disvover_path,scan_filename,file_title,filename):
    f=unittest.defaultTestLoader.discover(disvover_path,scan_filename)
    report=nnreport.BeautifulReport(f)
    report.report(file_title,filename,log_path=".")

run(".","pytest_test*","autoGen","auto_test")